Scalar multiplier and scalar multiplication program

ABSTRACT

Provided are a scalar multiplier and a scalar multiplication program for performing a scalar multiplication at a high speed. In computing a scalar multiplication [s]P of a rational point P of an additive group E(F p ) including rational points on an elliptic curve where a characteristic p, an order r, and a trace t of a Frobenius endomorphism at an embedding degree k=12 using an integer variable χ are given by: p(χ)=36χ 4 −36χ 3 +24χ 2 −6χ+1, r(χ)=36χ 4 −36χ 3 +18χ 2 −6χ+1=p(χ)+1−t(χ), t(χ)=6χ 2 +1, the scalar multiplication [s]P is computed as: [s]P=([A]φ′ 2 +[B])P, using a Frobenius map φ′ 2  given by: [p 2 ]P=φ′ 2 (P) assuming that a twist degree d is 6 and a positive integer e is 2 where k=d×e.

TECHNICAL FIELD

The present invention relates to a scalar multiplier and a scalar multiplication program for performing a scalar multiplication [s]P of a rational point P.

BACKGROUND ART

Conventionally, various services such as Internet banking and electronic applications with administrative agencies have been provided using telecommunication circuits such as the Internet.

To use such services, an authentication process is required to ensure that users of the services are not spoofers or fictitious persons but are correct users. Thus, an electronic authentication technique based on public key cryptography using a public key and a secret key has been frequently employed as a highly reliable authentication method.

Recently, an authentication system using ID-based encryption or a group signature has been developed in order to easily and efficiently manage more users.

In the ID-based encryption or group signature, a necessary exponentiation or scalar multiplication is performed together with a pairing computation. These computations are required to be performed at a high speed in order to shorten the time necessary for the authentication process as much as possible.

Therefore, developed is a technique of enhancing the speed of such exponentiation or scalar multiplication by using a binary method, a window method, or other methods.

Moreover, developed is a technique of enhancing the speed of scalar multiplication by reducing the number of computations using mapping (see Patent Document 1 and Patent Document 2, for example).

Patent Document 1: Japanese Patent Application Publication No. 2004-271792

Patent Document 2: Japanese Patent Application Publication No. 2007-41461

DISCLOSURE OF INVENTION Problems to be Solved by the Invention

However, reduction of the number of computations simply using mapping alone does not sufficiently enhance the speed. Particularly, it is difficult to complete an authentication process intended for over 10,000 users within a few seconds, and therefore, the technique may not be sufficient for practical applications.

In view of the present situation, the present inventors have conducted research and development to improve practicality by enhancing the speed of scalar multiplication and have achieved the present invention.

Means for Solving the Problems

A scalar multiplier of the present invention is a scalar multiplier that computes a scalar multiplication [s]P of a rational point P of an additive group E(F_(p)) including rational points on an elliptic curve where a characteristic p, an order r, and a trace t of a Frobenius endomorphism at an embedding degree k=12 using an integer variable χ are given by:

p(χ)=36χ⁴−36χ³+24χ²−6χ+1,

r(χ)=36χ⁴−36χ³+18χ²−6χ+1=p(χ)+1−t(χ),

t(χ)=6χ²+1,

the scalar multiplier comprising, to compute the scalar multiplication [s]P as:

[s]=P=([s ₄ +s ₅]φ′₂ +[s ₂ −s ₅])P,

using a Frobenius map φ′₂ given by:

[p ² ]=P=φ′ ₂(P)

assuming that a twist degree d is 6 and a positive integer e is 2 where k=d×e to give:

[6χ²−4χ+1]P=[(−2χ+1)p ² ]P=[−2χ+1]χ′₂(P),

computing ν-adic expansion of the scalar s using 6χ²−4χ+1=νto give:

s=s ₁ ν+s ₂ , s ₂<ν, and

s≡(−2χ+1)s ₁ p ² +s ₂ mod r,

computing ν-adic expansion of the (−2χ+1)s₁ part to give:

s≡(s ₃ ν+s ₄)p ² +s ₂ ≡s ₅ p ⁴ +s ₄ p ² +s ₂ mod r

where p⁴≡p²−1 mod r, and

using

s≡(s ₄ +s ₅)p ²+(s ₂ −s ₅) mod r:

storage means for storing the value of the scalar s; and

first to fifth auxiliary storage means for storing the coefficients S₁, s₂, s₃, s₄, and s₅, respectively, wherein

a value obtained by computing ν-adic expansion of the scalar s is stored in the first auxiliary storage means and the second auxiliary storage means,

a value obtained by computing ν-adic expansion of (−2χ+1)s₁ are stored in the third auxiliary storage means and the fourth auxiliary storage means, and

the value of (−2χ+1)s₃ is stored in the fifth auxiliary storage means.

A scalar multiplication program of the present invention is a scalar multiplication program that causes an electronic computer including a central processing unit (CPU) to compute a scalar multiplication [s]P of a rational point P of an additive group E(F_(p)) including rational points on an elliptic curve where a characteristic p, an order r, and a trace t of a Frobenius endomorphism at an embedding degree k=12 using an integer variable ν are given by:

p(χ)=36χ⁴−36χ³+24χ²−6χ+1,

r(χ)=36χ⁴−36χ³+18χ²−6χ+1=p(χ)+1−t(χ),

t(χ)=6χ²+1,

the scalar multiplication program comprising, to cause the electronic computer to compute the scalar multiplication [s]P as:

[s]P=([s ₄ +s ₅]φ′₂ +[s ₂ −s ₅])P,

using a Frobenius map φ′₂ given by:

[p ² ]P=φ′ ₂(P)

assuming that a twist degree d is 6 and a positive integer e is 2 where k=d×e to give:

[6χ²−4χ+1]P=[(−2χ+1)p ² ]P=[−2χ+1]φ′₂(P),

computing ν-adic expansion of the scalar s using 6χ²−4χ+1=ν to give:

s=s ₁ ν+s ₂ , s ₂<ν, and

s≡(−2χ+1)s ₁ p ² +s ₂ mod r,

computing ν-adic expansion of the (−2χ+1)s₁ part to give:

s≡(s ₃ ν+s ₄)p ² +s ₂ ≡s ₅ p ⁴ +s ₄ p ² +s ₂ mod r

where p⁴≡p²−1 mod r, and

using

s≡(s ₄ +s ₅)p ²+(s ₂ −s ₅) mod r:

storing the s₁ and the s₂ obtained by computing ν-adic expansion of the scalar s in a first register and a second register, respectively,

storing the s₃ and the s₄ obtained by computing ν-adic expansion of (−2χ+1)s₁ in a third register and a fourth register, respectively, and

storing the value of (−2χ+1)s₃ as the value of the s₅ in a fifth register.

A scalar multiplier of the present invention is a scalar multiplier that computes a scalar multiplication [s]P of a rational point P of an additive group E(F_(p)) including rational points on an elliptic curve where a characteristic p, an order r, and a trace t of a Frobenius endomorphism at an embedding degree k=8 using an integer variable χ are given by:

p(χ)=(81χ⁶+54χ⁵+45χ⁴+12χ³+13χ²+6χ+1)/4,

r(χ)=9χ⁴+12χ³+8χ²+4χ+1,

t(χ)=−9χ³−3χ²−2χ,

the scalar multiplier comprising, to compute the scalar multiplication [s]P as:

[s]P=([s _(4]φ′) ₂ +[s ₂ −s ₅])P,

using a Frobenius map φ′₂ given by:

[p ² ]P=φ′ ₂(P)

assuming that a twist degree d is 4 and a positive integer e is 2 where k=d×e to give:

[3χ²+2χ]P=[(−2χ−1)p ² ]P=[−2χ−1]φ′₂(P),

computing ν-adic expansion of the scalar s using 3χ²+2χ=ν to give:

s=s ₁ ν+s ₂ , s ₂<ν, and

s≡(−2χ−1)s ₁ p ² +s ₂ mod r,

computing ν-adic expansion of the (−2χ−1)s₁ part to give:

s≡(s ₃ ν+s ₄)p ² +s ₂ ≡s ₅ p ⁴ +s ₄ p ² +s ₂ mod r

where p⁴≡−1 mod r, and

using

s≡s ₄ p ²+(s ₂ −s ₅) mod r:

storage means for storing the value of the scalar s; and

first to fifth auxiliary storage means for storing the coefficients s₁, s₂, s₃, s₄, and s₅, respectively, wherein

a value obtained by computing ν-adic expansion of the scalar s is stored in the first auxiliary storage means and the second auxiliary storage means,

a value obtained by computing ν-adic expansion of (−2χ−1)s₁ is stored in the third auxiliary storage means and the fourth auxiliary storage means, and

the value of (−2χ−1)s₃ are stored in the fifth auxiliary storage means.

A scalar multiplication program of the present invention is a scalar multiplication program that causes an electronic computer including a central processing unit (CPU) to compute a scalar multiplication [s]P of a rational point P of an additive group E(F_(p)) including rational points on an elliptic curve where a characteristic p, an order r, and a trace t of a Frobenius endomorphism at an embedding degree k=8 using an integer variable χ are given by:

p(χ)=(81χ⁶+54χ⁵+45χ⁴+12χ³+13χ²+6χ+1)/4,

r(χ)=9χ⁴+12χ³8χ²+4χ+1,

t(χ)=−9χ³−3χ²−2χ,

the scalar multiplication program comprising, to cause the electronic computer to compute the scalar multiplication [s]P as:

[s]P=([s ₄]φ′₂ +[s ₂ −s ₅])P,

using a Frobenius map φ′₂ given by:

[p ² ]P=φ′ ₂(P)

assuming that a twist degree d is 4 and a positive integer e is 2 where k=d×e to give:

[3χ²+2χ]P=[(−2χ−1)p ² ]P=[−2χ−1]φ′₂(P),

computing ν-adic expansion of the scalar s using 3χ²+2χ=ν to give:

s=s ₁ ν+s ₂ , s ₂=ν, and

s≡(−2χ−1)s ₁ p ² +s ₂ mod r,

computing ν-adic expansion of the (−2χ−1)s₁ part to give:

s≡(s ₃ ν+s ₄)p ² +s ₂ ≡s ₅ p ⁴ +s ₄ p ² +s ₂ mod r

where p⁴≡−1 mod r, and

using

s≡s ₄ p ²+(s ₂ −s ₅) mod r:

storing the s₁ and the s₂ obtained by computing ν-adic expansion of the scalar s in a first register and a second register, respectively,

storing the s₃ and the s₄ obtained by computing ν-adic expansion of (−2χ−1)s₁ in a third register and a fourth register, respectively, and

storing the value of (−2χ−1)s₃ as the value of the s₅ in a fifth register.

EFFECTS OF THE INVENTION

According to the present invention, when a scalar multiplication [s]P is computed, the computing amount of the scalar multiplication [s]P can be reduced by about half by computing ν-adic expansion of a scalar s to reduce the size of the scalar s and using a Frobenius map φ′₂(P) satisfying:

[p ² ]P=φ′ ₂(P).

Therefore, it is possible to enhance the speed of the scalar multiplication.

BRIEF DESCRIPTION OF THE DRAWINGS

[FIG. 1] is a schematic view of an electronic computer including a scalar multiplier according to an embodiment of the present invention.

[FIG. 2] is a flowchart of a scalar multiplication program according to the embodiment of the present invention.

DESCRIPTION OF THE REFERENCE SIGNS

10 electronic computer

11 CPU

12 storage device

13 memory device

14 bus

110 register for scalar value

111 first register

112 second register

113 third register

114 fourth register

115 fifth register 5

BEST MODE(S) FOR CARRYING OUT THE INVENTION

For describing an embodiment of the present invention, a case of an embedding degree k=12 is described, and then, a case of an embedding degree k=8 is described.

A scalar multiplication executed by a scalar multiplier and a scalar multiplication program according to the embodiment of the present invention is a scalar multiplication [s]P of a rational point P of an additive group E(F_(p)) including rational points on an elliptic curve where a characteristic p, an order r, and a trace t of a Frobenius endomorphism at an embedding degree k=12 are given by:

p(χ)=36χ⁴−36χ³+24χ²−6χ+1,   (Equation 1)

r(χ)=36χ⁴−36χ³+18χ²−6χ+1=p(χ)+1−t(χ),  (Equation 2)

t(χ)=6χ²+1,  (Equation 3).

The elliptic curve is known as a Barreto-Naehrig curve (hereinafter, referred to as a “BN curve”) that is a type of pairing-friendly curves.

The presence of a subfield twist curve is known relative to the elliptic curve represented by this BN curve. Particularly, with the embedding degree k=12, a sextic twist curve is known, and a Frobenius map φ′₂ satisfying:

[p ² ]P=φ′ ₂(P)

is known.

While using a technique capable of enhancing the speed of scalar computation using this Frobenius map φ′₂, the present invention enhances the speed of scalar computation using relational expressions described below.

Equation below is obtained from Equation 2.

36χ⁴−36χ³+18χ²−6χ+1≡0 mod r  (Equation 4)

Since p≡t−1 mod r, Equation below is obtained.

p ²−6χp+3p−6χ+1≡0 mod r  (Equation 5)

Equation below is obtained by transforming Equation 5.

(−6χ+3)p≡p ²+6χ−1 mod r  (Equation 6)

Equation below is obtained by squaring both sides of Equation 6.

(−6χ3)² p ²≡(p ²−6χ+1)² mod r,

36χ² p ²−36χp ²+9p ² ≡p ⁴−12χp ²+2p ²+36χ²−12χ+1 mod r  (Equation 7)

Equation below is obtained by further transforming Equation 7 using p⁴+1≡p² mod r.

36χ² p ²−36χp ²+9p ²≡−12χp ²+3p ²+36χ²−12χ mod r,

36χ²(p ²−1)≡(24χ−6)p ²−12χ mod r,

6χ²(p ²−1)≡(4χ−1)p ²−2χ mod r  (Equation 8)

Equation 8 can be transformed into Equation below using

p ⁴ −p ²+1=0 mod r  (Equation 9),

−p ²(p ²−1)≡1 mod r  (Equation 10), and

(p ²−1)⁻¹ ≡p ² mod r  (Equation 11),

when both sides of Equation 8 are multiplied by (p²−1)⁻¹.

6χ²≡−(4χ−1)p ⁴+2χp ²≡−(4χ−1)(p ²−1)+2χp ² mod r  (Equation 12)

Thus, Equation below is obtained by transforming Equation 12.

6χ²−4χ+1≡(−2χ−1)p ² mod r  (Equation 13)

Accordingly, the relational expression below of the Frobenius map φ′₂ is obtained.

[6χ²−4χ+1]P=[(−2χ+1)p ² ]P[−2χ+1]φ′₂(P)  (Equation 14)

Subsequently, a scalar multiplication [s]p using the Frobenius map φ′₂ is considered. Here,

ν=6χ²−4χ+1  (Equation 15)

is given for the sake of convenience.

In this case, ν-adic expansion of a scalar s can be expressed by Equation below.

s=s ₁ ν+s ₂ , s ₂<ν  (Equation 16)

Here, Equation 16 can be expressed by Equation below using Equation 15 and Equation 14.

s≡(−2χ+1)s ₁ p ² +s ₂ mod r  (Equation 17)

(−2χ+1)s₁ may be greater than ν. Therefore, Equation below is expressed by further computing ν-adic expansion of (−2χ+1)s₁.

s≡(s ₃ ν+s ₄)p ² +s ₂ mod r  (Equation 18)

Here, s₃νp²≡(−2χ+1)s₃p⁴ is given using Equation 14, and thus, Equation 18 can be expressed by Equation below using (−2χ+1)s₃=s₅.

s≡s ₅ p ⁴ +s ₄ p ² +s ₂ mod r  (Equation 19)

In this case, while s₄ and s₂ are smaller than ν, s₅ may not be smaller than ν. Even in such case, s₅ does not become problematically large.

Equation 19 can be transformed into Equation below using p⁴≡p²−1 mod r transformed from Equation 9.

s≡s ₅(p ²−1)+s ₄ p ² +s ₂≡(s ₄ +s ₅)p ²+(s ₂ −s ₅) mod r  (Equation 20)

Here,

A=s ₄ +s ₅  (Equation 21), and

B=s ₂ −s ₅  (Equation 22)

are given, and the scalar multiplication [s]P can be computed as:

[s]P=([A]φ′₂ +[B])P  (Equation 23)

Therefore, for example, when a scalar multiplication with a 256-bit scalar s is computed, A and B are 128 bits in size, and thus, the computing amount can be reduced by about half to enhance the speed of the scalar multiplication.

The scalar multiplier that performs the scalar multiplication described above is configured to include an electronic computer 10 as illustrated in FIG. 1. The electronic computer 10 includes a central processing unit (CPU) 11 that performs a computation process, a storage device 12 such as a hard disk that stores therein a scalar multiplication program, data of rational points to be used in the scalar multiplication program, and the like, and a memory device 13 including a random-access memory (RAM) that loads the scalar multiplication program to be executable and that temporarily stores therein data generated during the scalar multiplication program execution, and the like. In FIG. 1, 14 denotes a bus.

In the embodiment of the present invention, a register 110 for scalar value that stores therein the value of the scalar s is provided as storage means in the CPU 11. First to fifth registers 111, 112, 113, 114, and 115 that store therein the values of coefficients s₁, s₂, s₃, s₄, and s₅, respectively, generated during ν-adic expansion of the scalar s as described above are further provided as first to fifth auxiliary storage means in the CPU 11. The storage means configured as the register 110 for scalar value and the first to fifth auxiliary storage means configured as the first to fifth registers 111, 112, 113, 114, and 115 may not be provided in the CPU 11 but may be provided in storage means such as the memory device 13 except for the CPU 11.

When a scalar multiplication needs to be executed, the electronic computer 10 functioning as a scalar multiplier starts a scalar multiplication program to execute the scalar multiplication.

In other words, the electronic computer 10 performs the scalar multiplication based on the flowchart illustrated in FIG. 2 using the started scalar multiplication program to output a computation result.

Using the started scalar multiplication program, the electronic computer 10 makes the CPU 11 function as input means to read data of an integer variable χ and data of the rational point P that are stored in the storage device 12 or the memory device 13 and input the data into respective specified registers provided in the CPU 11 (Step S1).

Moreover, the electronic computer 10 makes the CPU 11 function as input means using the scalar multiplication program and input the value of the scalar s for a scalar multiplication. The CPU 11 is made to function as storage means to store the input value of the scalar s in the register 110 for scalar value (Step S2).

Subsequently, the electronic computer 10 makes the CPU 11 function as computation means using the scalar multiplication program to compute ν-adic expansion of the scalar s as described above and calculate s₁ and s₂ that are coefficients of the ν-adic expansion (Step S3). In other words, the coefficient s₁ is the quotient obtained by dividing the scalar s by ν, and the coefficient s₂ is the remainder obtained by dividing the scalar s by ν.

The CPU 11 is made to function as storage means and store the values of s₁ and s₂ that are calculated coefficients of the ν-adic expansion, respectively, in the first register 111 and the second register 112 (Step S4).

Subsequently, the electronic computer 10 makes the CPU 11 function as computation means to calculate the value of (−2χ+1)s₁ (Step S5) and compute ν-adic expansion of (−2χ+1)s₁ as described above to calculate s₃ and s₄ that are coefficients of the ν-adic expansion (Step S6). In other words, the coefficient s₃ is the quotient obtained by dividing (−2χ+1)s₁ by ν, and the coefficient s₄ is the remainder obtained by dividing (−2χ+1)s₁ by ν.

The CPU 11 is made to function as storage means to store the values of s₂ and s₄ that are calculated coefficients of the ν-adic expansion of (−2χ+1)s₁, respectively, in the third register 113 and the fourth register 114 (Step S7).

The electronic computer 10 makes the CPU 11 function as computation means to compute the value of (−2χ+1)s₃ (Step S8) and stores the value in the fifth register 115 (Step S9).

Subsequently, the electronic computer 10 makes the CPU 11 function as computation means to compute the value of s₄+s₅ and the value of s₂−s₅ using the values stored in the first to fifth registers 11, 112, 113, 114, and 115 (Step S10).

The computed value of s₄+s₅ and value of s₂−s₅ are stored in respective specified registers. s₄+s₅=A and s₂−s₅=B are given for the sake of convenience.

Subsequently, the electronic computer 10 makes the CPU 11 function as computation means to calculate the scalar multiplication [s]P as [s]P=([A]φ′₂+[B])P (Step S11). When the size of the values of A and B is about half the size of the scalar s, the computation time can be significantly reduced. In a computer simulation, the speed of the computation can be enhanced by about 40% as compared with a scalar multiplication performed by a general binary method.

The computation of [s]P=([A]φ′₂+[B])P performed in Step S11 is specifically performed as follows.

The electronic computer 10 includes a register R for computation result that stores therein a computation result of the scalar computation [s]P and a first auxiliary register C and a second auxiliary register D that temporarily store therein values necessary for computation.

As an initialization process, the electronic computer 10 sets the register R for computation result to zero element, assigns φ′₂(P) into the first auxiliary register C, and assigns the rational point P into the second auxiliary register D.

Assuming that values of the A and B described above at the i-th digit displayed in binary are expressed as A_(i) and B_(i), the electronic computer 10 executes the following computation loop over the whole digits of A and B.

If A_(i)=1 and B_(i)=1 at the i-th digit, the sum of the register R for computation result and the second auxiliary register D is substituted into the register R for computation result. That is, R←R+D.

If A_(i)=1 and B_(i)=0 at the i-th digit, the sum of the register R for computation result and the first auxiliary register C is substituted into the register R for computation result. That is, R←R+C.

If A_(i)=0 and B_(i)=1 at the i-th digit, the sum of the register R for computation result and the rational point P is substituted into the register R for computation result. That is, R←R+P.

Then, the sum of the register R for computation result and the register R for computation result is substituted into the register R for computation result. That is, R←R+R.

Subsequently, the electronic computer 10 performs the scalar computation [s]P by computing the whole digits of A and B while shifting the digits of A_(i) and B_(i) by decrementing or incrementing the digits to enable the output of a computation result.

Because A is computed in parallel with B, the computation of the embodiment of the present invention can maximize the advantageous effect of the size of the values of A and B being about half the size of the scalar s.

The case of an embedding degree k=8 will be described below.

With the embedding degree k=8, the scalar multiplication according to the embodiment of the present invention is a scalar multiplication [s]P of a rational point P of an additive group E(F_(p)) including rational points on a BN curve where a characteristic p, an order r, and a trace t of a Frobenius endomorphism are given by:

p(χ)=(81χ⁶+54χ⁵+45χ⁴+12χ³+13χ²+6χ+1)/4,

r(χ)=9χ⁴+12χ³+8χ²+4χ+1,

t(χ)=−9χ³−3χ²−2χ.

Also in this case, the presence of a subfield twist curve is known. Particularly, with the embedding degree k=8, a quartic twist curve is known, and a Frobenius map φ′₂ satisfying:

[p ² ]P=φ′ ₂(P)

is known.

In the case of the embedding degree k=8, the relational expression:

[3χ²+2χ]P=[(−2χ−1)p ² ]P=[−2χ−1]φ′₂(P)  (Equation 24)

is used instead of Equation 14.

Similarly to the case of the embedding degree k=12, the ν-adic expansion of the scalar s is computed using 3χ²2χ=ν, and can be expressed as Equation below.

s=s ₁ ν+s ₂ , s ₂<ν  (Equation 25)

Here, Equation 25 can be expressed by Equation below using Equation 24.

s≡(−2χ−1)s ₁ p ² +s ₂ mod r  (Equation 26)

(−2χ−1)s₁ may be greater than ν. Therefore, Equation below may be expressed by further computing ν-adic expansion of (−2χ−1)s₁.

s≡(s ₃ ν+s ₄)p ² +s ₂ mod r  (Equation 27)

Here, s₃νp²≡(−2χ−1)s₃p⁴ is given using Equation 24, and thus, Equation 27 can be expressed by Equation below using (−2χ−1)s₃=s₅.

s≡s ₅ p ⁴ +s ₄ p ² +s ₂ mod r  (Equation 28)

In this case, while s₄ and s₂ are smaller than ν, s₅ may not be smaller than ν. Even in such case, s₅ does not become problematically large.

With the embedding degree k=8, Equation 28 can be transformed into Equation below using p⁴≡−1 mod r.

s≡−s ₅ s ₄ p ² +s ₂ ≡s ₄ p ²+(s ₂ −s ₅) mod r  (Equation 29)

Here,

A=s₄  (Equation 30), and

B=s ₂ −s ₅  (Equation 31)

are given, and the scalar multiplication [s]P can be computed as:

[s]P=([A]φ′₂ +[B])P

similarly to the case of the embedding degree k=12.

Therefore, comparing the case of the embedding degree k=8 and the case of the embedding degree k=12, the difference is only the formula to find the value to be stored in the fifth register 115 and the value of A in Equation 30. Accordingly, the computation with the embedding degree k=8 can be performed similarly to that with the embedding degree k=12.

Thus, a scalar multiplier in the case of the embedding degree k=8 is assumed to be the same as the scalar multiplier in the case of the embedding degree k=12, (−2χ−1)s₃ is used as the formula in Step S8 of the flowchart illustrated in FIG. 2, (−2χ−1)s₃ is used as the value of s₅ in Step S9, and A=s₄ is used in Step S10.

Accordingly, even with the embedding degree k=8, the size of the values of A and B is about half the size of the scalar s, and thus, the computation time of the scalar multiplication [s]P can be significantly reduced.

INDUSTRIAL APPLICABILITY

The present invention can enhance the speed of the scalar multiplication required during computation of a group signature to enhance the speed of a group signature process. 

1. A scalar multiplier that computes a scalar multiplication [s]P of a rational point P of an additive group E(F_(p)) including rational points on an elliptic curve where a characteristic p, an order r, and a trace t of a Frobenius endomorphism at an embedding degree k=12 using an integer variable χ are given by: p(χ)=36χ⁴−36χ³+24χ²−6χ+1, r(χ)=36χ⁴−36χ³+18χ²−6χ+1=p(χ)+1−t(χ), t(χ)=6χ²+1, the scalar multiplier comprising, to compute the scalar multiplication [s]P as: [s]P=([s ₄ +s ₅]φ′₂ +[s ₂ −s ₅])P, using a Frobenius map φ′₂ given by: [p ² ]P=φ′ ₂(P) assuming that a twist degree d is 6 and a positive integer e is 2 where k=d×e to give: [6χ²−4χ+1]P=[(−2χ+1)p ² ]P=[−2χ+1]φ′ ₂(P), computing ν-adic expansion of the scalar s using 6χ²−4χ+1=ν to give: s=s ₁ ν+s ₂ , s ₂<ν, and s≡(−2χ+1)s ₁ p ² +s ₂ mod r, computing ν-adic expansion of the (−2χ+1)s₁ part to give: s≡(s ₃ νs ₄)p ² +s ₂ ≡s ₄ p ² +s ₂ mod r where p⁴≡p²−1 mod r, and using s≡(s ₄ +s ₅)p ²+(s ₂ −s ₅) mod r: storage means for storing the value of the scalar s; and first to fifth auxiliary storage means for storing the coefficients S₁, s₂, s₃, s₄, and s₅, respectively, wherein a value obtained by computing ν-adic expansion of the scalar s is stored in the first auxiliary storage means and the second auxiliary storage means, a value obtained by computing ν-adic expansion of (−2χ+1)s₁ is stored in the third auxiliary storage means and the fourth auxiliary storage means, and the value of (−2χ+1)s₃ is stored in the fifth auxiliary storage means.
 2. A scalar multiplication program that causes an electronic computer including a central processing unit (CPU) to compute a scalar multiplication [s]P of a rational point P of an additive group E(F_(p)) including rational points on an elliptic curve where a characteristic p, an order r, and a trace t of a Frobenius endomorphism at an embedding degree k=12 using an integer variable χ are given by: p(χ)=36χ⁴−36χ³+24χ²−6χ+1, r(χ)=36χ⁴−36χ³+18χ²−6χ+1=p(χ)+1−t(χ), t(χ)=6χ²+1, the scalar multiplication program comprising, to cause the electronic computer to compute the scalar multiplication [s]P as: [s]P=([s ₄ +s ₅]φ′₂ +[s ₂ −s ₅])P, using a Frobenius map φ′₂ given by: [p ² ]P=φ′ ₂(P) assuming that a twist degree d is 6 and a positive integer e is 2 where k=d×e to give: [6χ²−4χ+1]P=[(−2χ+1)p ² ]P=[−2χ+1]φ′₂(P), computing ν-adic expansion of the scalar s using 6χ²−4χ+1=ν to give: s=s ₁ ν+s ₂ , s ₂<ν, and s≡=(−2χ+1)s ₁ p ² +s ₂ mod r, computing ν-adic expansion of the (−2χ+1)s₁ part to give: s≡(s ₃ ν+s ₄)p² +s ₂ ≡s ₅ p ⁴ +s ₄ p ² +s ₂ mod r where p⁴≡p²−1 mod r, and using s≡(s ₄ +s ₅)p ²+(s ₂ −s ₅) mod r: storing the s₁ and the s₂ obtained by computing ν-adic expansion of the scalar s in a first register and a second register, respectively; storing the s₃ and the s₄ obtained by computing ν-adic expansion of (−2χ+1)s₁ in a third register and a fourth register, respectively; and storing the value of (−2χ+1)s₃ as the value of the s₅ in a fifth register.
 3. A scalar multiplier that computes a scalar multiplication [s]P of a rational point P of an additive group E(F_(p)) including rational points on an elliptic curve where a characteristic p, an order r, and a trace t of a Frobenius endomorphism at an embedding degree k=8 using an integer variable χ are given by: p(χ)=(81χ⁶+54χ⁵+45χ⁴+12χ³+13χ²+6χ+1)/4, r(χ)=9χ⁴+12χ³+8χ²+4χ+1, t(χ)=−9χ³−3χ²−2χ, the scalar multiplier comprising, to compute the scalar multiplication [s]P as: [s]P=([s ₄]φ′₂ +[s ₂ −s ₅])P, using a Frobenius map φ′₂ given by: [p ² ]P=φ′ ₂(P) assuming that a twist degree d is 4 and a positive integer e is 2 where k=d×e to give: [3χ²+2χ]P=[(−2χ−1)p ² ]P=[−2χ−1]φ′₂(P), computing ν-adic expansion of the scalar s using 3χ²+2χ=ν to give: s=s ₁ ν+s ₂ , s ₂<ν, and s≡(−2χ−1)s ₁ p ² +s ₂ mod r, computing ν-adic expansion of the (−2χ−1)s₁ part to give: s≡(s ₃ ν+s ₄)p ² +s ₂ ≡s ₅ p ⁴ s ₄ p ² +s ₂ mod r where p⁴≡−1 mod r, and using s≡s ₄ p ²+(s ₂ −s ₅) mod r: storage means for storing the value of the scalar s; and first to fifth auxiliary storage means for storing the coefficients s₁, s₂, s₃, s₄, and s₅, respectively, wherein a value obtained by computing ν-adic expansion of the scalar s is stored in the first auxiliary storage means and the second auxiliary storage means, a value obtained by computing ν-adic expansion of (−2χ−1)s₁ is stored in the third auxiliary storage means and the fourth auxiliary storage means, and the value of (−2χ−1)s₃ is stored in the fifth auxiliary storage means.
 4. A scalar multiplication program that causes an electronic computer including a central processing unit (CPU) to compute a scalar multiplication [s]P of a rational point P of an additive group E(F_(p)) including rational points on an elliptic curve where a characteristic p, an order r, and a trace t of a Frobenius endomorphism at an embedding degree k=8 using an integer variable χ are given by: p(χ)=(81χ⁶+54χ⁵+45χ⁴+12χ³+13χ²+6χ+1)/4, r(χ)=9χ⁴+12χ³+8χ²+4χ+1, t(χ)=−9χ³−3χ²−2χ, the scalar multiplication program comprising, to cause the electronic computer to compute the scalar multiplication [s]p as: [s]P=([s ₄]φ′₂ +[s ₂ −s ₅])P, using a Frobenius map φ′₂ given by: [p ² ]P=φ′ ₂(P) assuming that a twist degree d is 4 and a positive integer e is 2 where k=d×e to give: [3χ²+2χ]P=[(−2χ−1)p ² ]P=[−2χ−1]φ′₂(P), computing ν-adic expansion of the scalar s using 3χ²+2χ=ν to give: s=s ₁ ν+s ₂ , s ₂<ν, and s≡(−2χ−1)s ₁ p ² +s ₂ mod r, computing ν-adic expansion of the (−2χ−1)s₁ part to give: s≡(s ₃ ν+s ₄)p ² +s ₂ ≡s ₅ p ⁴ +s ₄ p ² +s ₂ mod r where p⁴≡−1 mod r, and using s≡s ₄ p ²+(s ₂ −s ₅) mod r: storing the s₁ and the s₂ obtained by computing ν-adic expansion of the scalar s in a first register and a second register, respectively; storing the s₃ and the s₄ obtained by computing ν-adic expansion of (−2χ−1)s₁ in a third register and a fourth register, respectively; and storing the value of (−2χ−1)s₃ as the value of the s₅ in a fifth register. 